package com.sz.admin.system.mapper;

import com.mybatisflex.core.BaseMapper;
import com.sz.admin.system.pojo.po.SysClient;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 系统授权表 Mapper 接口
 * </p>
 *
 * @author sz
 * @since 2024-01-22
 */
public interface SysClientMapper extends BaseMapper<SysClient> {

    /**
     * 根据客户端ID查询客户端信息
     *
     * @param clientId 客户端ID
     * @return 客户端信息
     */
    @Select("SELECT * FROM sys_client WHERE client_id = #{clientId}")
    SysClient selectByClientId(String clientId);

}